
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  
      xmlns:h="http://java.sun.com/jsf/html"  
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui"> 

    <h:head>
        <title>Login Form</title>
    </h:head>
    <h:body>
        <h:form>
            <!-- LOCALIZATION -->
            <!-- this selectedLocale menu must always be at the top of the form -->
            <h:selectOneMenu id="selectedLocale" value="#{indexManagedBean.selectedLocale}">
                <f:selectItems value="#{enumLanguage.listItems}" />

                <p:ajax update="loginMainLink
                                registerTouristAccountLink
                                registerStaffAccountLink" 
                        listener="#{indexManagedBean.selectedLocaleValueChangeListener}" />
            </h:selectOneMenu>
            <!-- this end selectedLocale menu must always be at the top of the form -->
            <!-- END LOCALIZATION -->
            
            <h:commandLink id="loginMainLink" action="#{pageRedirectorBean.goLoginPage}" value="#{bundle['login.login.link']}" />&nbsp;
            <h:commandLink id="registerTouristAccountLink" action="#{pageRedirectorBean.goTouristRegisterPage}" value="#{bundle['index.touristaccountcreation.link']}" />&nbsp;
            <h:commandLink id="registerStaffAccountLink" action="#{pageRedirectorBean.goStaffRegisterPage}" value="#{bundle['index.staffaccountcreation.link']}" />
            
            <br/><br/><br/>
            
            <h3>Temporary Links for Accessibility (of course... no localization needed lol)</h3>
            <h5>Branch</h5>
            <a id="addBranchLink" href="stakeholder/AddBranch.xhtml" > #{bundle['index.addbranch.link']} </a>&nbsp;
            <a id="viewBranchLink" href="stakeholder/ViewAllBranch_draft.xhtml">#{bundle['index.viewallbranch.link']}</a>&nbsp;
            <h:commandLink id="editBranchLink" action="stakeholder/EditBranch.xhtml" value="#{bundle['index.editbranch.link']}" />&nbsp;
            <h:commandLink id="deleteBranchLink" action="stakeholder/DeleteBranch.xhtml" value="#{bundle['index.deletebranch.link']}" />&nbsp;
            <br/>
            <h5>Yours Here</h5>
            <h:commandLink id="addXXLink" action="stakeholder/AddBranch.xhtml" value="#{bundle['index.addbranch.link']}" />&nbsp;
            <h:commandLink id="viewXXLink" action="stakeholder/ViewAllBranch.xhtml" value="#{bundle['index.viewallbranch.link']}" />&nbsp;
            <h:commandLink id="editXXLink" action="stakeholder/EditBranch.xhtml" value="#{bundle['index.editbranch.link']}" />&nbsp;
            <h:commandLink id="deleteXXLink" action="stakeholder/DeleteBranch.xhtml" value="#{bundle['index.deletebranch.link']}" />&nbsp;
<!--u can hard code your value-->
        </h:form>
    </h:body>
</html>

